//
//  EncryptionVC.m
//  FrameWork2.0
//
//  Created by jiaming yan on 2016/12/27.
//  Copyright © 2016年 yanjiaming. All rights reserved.
//

#import "EncryptionVC.h"
#import "NSString+Expand.h"
@interface EncryptionVC ()
@property (weak, nonatomic) IBOutlet UITextField *contentTextField;

@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@end

@implementation EncryptionVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)buttonClick:(id)sender {
    self.detailLabel.text = [self.contentTextField.text encryptWithKey:@"123456"];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
